typedef struct {
	PyObject_HEAD
	
	int			type;
	PyObject	*object;
	int			time_stamp;
	int			id;
} PvEvent;

extern PyTypeObject		PvEvent_Type;

#define EVT_TYPE(o)		(((PvEvent *)(o))->type)
#define EVT_OBJECT(o)	(((PvEvent *)(o))->object)
#define EVT_TIME(o)		(((PvEvent *)(o))->time_stamp)
#define EVT_ID(o)		(((PvEvent *)(o))->id)


